package com.thermofisher.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author py
 * @since 2020-02-11
 */
public class Employee extends Model<Employee>
{

    private static final long serialVersionUID = 1L;

    @TableId(value = "employee_number", type = IdType.INPUT)
    private String employeeNumber;

    @TableField("employee_name")
    private String employeeName;

    @TableField("department_code")
    private String departmentCode;

    @TableField("department_name")
    private String departmentName;

    @TableField("job_code")
    private String jobCode;

    @TableField("job_name")
    private String jobName;

    @TableField("parent_id")
    private String parentId;

    @TableField("mobile_phone")
    private String mobilePhone;

    @TableField("is_clt")
    private String isClt;

    @TableField("work_phone")
    private String workPhone;

    @TableField("work_email")
    private String workEmail;

    /**
     * 人员状态
     */
    @TableField("work_activity")
    private String workActivity;

    /**
     * 办公地点
     */
    private String hiredate;

    @TableField("not_update_bu")
    private String notUpdateBu;

    @TableField("bu_name")
    private String buName;

    @TableField("bu_code")
    private String buCode;

    @TableField("jod_family_group")
    private String jodFamilyGroup;

    @TableField("jod_family")
    private String jodFamily;

    @TableField("country_name")
    private String countryName;

    public String getEmployeeNumber()
    {
        return employeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber)
    {
        this.employeeNumber = employeeNumber;
    }

    public String getEmployeeName()
    {
        return employeeName;
    }

    public void setEmployeeName(String employeeName)
    {
        this.employeeName = employeeName;
    }

    public String getDepartmentCode()
    {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode)
    {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName()
    {
        return departmentName;
    }

    public void setDepartmentName(String departmentName)
    {
        this.departmentName = departmentName;
    }

    public String getJobCode()
    {
        return jobCode;
    }

    public void setJobCode(String jobCode)
    {
        this.jobCode = jobCode;
    }

    public String getJobName()
    {
        return jobName;
    }

    public void setJobName(String jobName)
    {
        this.jobName = jobName;
    }

    public String getParentId()
    {
        return parentId;
    }

    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public String getMobilePhone()
    {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone)
    {
        this.mobilePhone = mobilePhone;
    }

    public String getIsClt()
    {
        return isClt;
    }

    public void setIsClt(String isClt)
    {
        this.isClt = isClt;
    }

    public String getWorkPhone()
    {
        return workPhone;
    }

    public void setWorkPhone(String workPhone)
    {
        this.workPhone = workPhone;
    }

    public String getWorkEmail()
    {
        return workEmail;
    }

    public void setWorkEmail(String workEmail)
    {
        this.workEmail = workEmail;
    }

    public String getWorkActivity()
    {
        return workActivity;
    }

    public void setWorkActivity(String workActivity)
    {
        this.workActivity = workActivity;
    }

    public String getHiredate()
    {
        return hiredate;
    }

    public void setHiredate(String hiredate)
    {
        this.hiredate = hiredate;
    }

    public String getNotUpdateBu()
    {
        return notUpdateBu;
    }

    public void setNotUpdateBu(String notUpdateBu)
    {
        this.notUpdateBu = notUpdateBu;
    }

    public String getBuName()
    {
        return buName;
    }

    public void setBuName(String buName)
    {
        this.buName = buName;
    }

    public String getBuCode()
    {
        return buCode;
    }

    public void setBuCode(String buCode)
    {
        this.buCode = buCode;
    }

    public String getJodFamilyGroup()
    {
        return jodFamilyGroup;
    }

    public void setJodFamilyGroup(String jodFamilyGroup)
    {
        this.jodFamilyGroup = jodFamilyGroup;
    }

    public String getJodFamily()
    {
        return jodFamily;
    }

    public void setJodFamily(String jodFamily)
    {
        this.jodFamily = jodFamily;
    }

    public String getCountryName()
    {
        return countryName;
    }

    public void setCountryName(String countryName)
    {
        this.countryName = countryName;
    }

    @Override
    protected Serializable pkVal()
    {
        return this.employeeNumber;
    }

    @Override
    public String toString()
    {
        return "Employee{" +
                ", employeeNumber=" + employeeNumber +
                ", employeeName=" + employeeName +
                ", departmentCode=" + departmentCode +
                ", departmentName=" + departmentName +
                ", jobCode=" + jobCode +
                ", jobName=" + jobName +
                ", parentId=" + parentId +
                ", mobilePhone=" + mobilePhone +
                ", isClt=" + isClt +
                ", workPhone=" + workPhone +
                ", workEmail=" + workEmail +
                ", workActivity=" + workActivity +
                ", hiredate=" + hiredate +
                ", notUpdateBu=" + notUpdateBu +
                ", buName=" + buName +
                ", buCode=" + buCode +
                ", jodFamilyGroup=" + jodFamilyGroup +
                ", jodFamily=" + jodFamily +
                ", countryName=" + countryName +
                "}";
    }
}
